
public class tower {
	public static void main(String[] args){
		  int n=5;
		  int[] arr =new int[n];
			for (int i=0; i<n; i++)
				arr[i]=0;
			while (true) {
				hanoi.show(arr);
				hanoi.solved(arr,n,2);
				if (hanoi.finish(arr)){
					hanoi.show(arr);
					return;
				}
		    }
		}
}
